/**
 * @Author: ycq_work@163.com
 * @DATE: 2023/7/16
 * @Description: 
*/
#ifndef USER_H
#define USER_H

#include <QString>

class User{
private:
    int ID;
    QString account;
    QString password;
public:
    [[nodiscard]] const int &getID() const;
    void setID(const int &ID);


    [[nodiscard]] const QString &getPassword() const;
    void setPassword(const QString &password);
    
    [[nodiscard]] const QString &getAccount() const;
    void setAccount(const QString &account);
};
const int &User::getID() const
{
    return ID;
}
void User::setID(const int &ID)
{
    User::ID = ID;
}

const QString &User::getAccount() const
{
    return account;
}
void User::setAccount(const QString &account)
{
    User::account = account;
}
const QString &User::getPassword() const
{
    return password;
}
void User::setPassword(const QString &password)
{
    User::password = password;
}


#endif //USER_H
